-
Home
-
Jigoshop eCommerce
-
2.1.18 (latest)
-
Code
-
Classes
- Downloadable
| Total Complexity |
47 |
| Dependencies |
5 |
| Dependents |
5 |
| Total lines |
284 |
| Lines of code |
158 |
| Logical lines of code |
94 |
| Comment lines |
65 |
| Methods |
18 |
| Properties |
6 |
Methods 18
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| restoreState() |
B |
44 |
17 |
43 |
| calculatePrice() |
S |
55 |
7 |
18 |
| getStateToSave() |
S |
49 |
6 |
30 |
| setStock() |
S |
68 |
2 |
7 |
| setSales() |
S |
68 |
2 |
7 |
| __construct() |
S |
72 |
1 |
5 |
| getType() |
S |
81 |
1 |
3 |
| getPrice() |
S |
79 |
1 |
3 |
| getStock() |
S |
82 |
1 |
3 |
| getRegularPrice() |
S |
82 |
1 |
3 |
| setRegularPrice() |
S |
76 |
1 |
4 |
| getSales() |
S |
82 |
1 |
3 |
| getUrl() |
S |
82 |
1 |
3 |
| setUrl() |
S |
76 |
1 |
4 |
| getLimit() |
S |
82 |
1 |
3 |
| setLimit() |
S |
76 |
1 |
4 |
| getState() |
S |
71 |
1 |
6 |
| jsonSerialize() |
S |
65 |
1 |
9 |